<?
$r = "../";
require_once($r."_engine/c_account.php");
require_once($r."_engine/c_news.php");

$account = GetActiveAccount(false);

$n = new CNews();
$n->LoadById($id);

$p = "news_detail";
include $r."_header.php";
?>


<p class="text" style="margin-bottom: 20;">
<b><?=$n->data["title"]?></b><br>
<i><?=$n->GetDT()?></i><br>
<br>
<?=nl2br($n->data["text"])?>
</p>


<?
include $r."_footer.php";
?>